<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />

  <title>Class: Formatter</title>

  <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />

  <script src="./js/jquery.js" type="text/javascript" charset="utf-8"></script>
  <script src="./js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
  <script src="./js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
  <script src="./js/darkfish.js" type="text/javascript" charset="utf-8"></script>

</head>
<body id="top" class="class">

  <div id="metadata">
    <div id="home-metadata">
      <div id="home-section" class="section">
        <h3 class="section-header">
          <a href="./index.html">Home</a>
          <a href="./index.html#classes">Classes</a>
          <a href="./index.html#methods">Methods</a>
        </h3>
      </div>
    </div>

    <div id="file-metadata">
      <div id="file-list-section" class="section">
        <h3 class="section-header">In Files</h3>
        <div class="section-body">
          <ul>
          
            <li><a href="./lib/formatter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
              class="thickbox" title="lib/formatter.rb">lib/formatter.rb</a></li>
          
          </ul>
        </div>
      </div>

      
    </div>

    <div id="class-metadata">
      
      <!-- Parent Class -->
      <div id="parent-class-section" class="section">
        <h3 class="section-header">Parent</h3>
        
        <p class="link"><a href="Object.html">Object</a></p>
        
      </div>
      

      

      

      
      <!-- Method Quickref -->
      <div id="method-list-section" class="section">
        <h3 class="section-header">Methods</h3>
        <ul class="link-list">
          
          <li><a href="#method-i-print_progress_bar_long">#print_progress_bar_long</a></li>
          
          <li><a href="#method-i-print_progress_bar_short">#print_progress_bar_short</a></li>
          
        </ul>
      </div>
      

      
    </div>

    <div id="project-metadata">
      
      
      <div id="fileindex-section" class="section project-section">
        <h3 class="section-header">Files</h3>
        <ul>
        
          <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
        
        </ul>
      </div>
      

      <div id="classindex-section" class="section project-section">
        <h3 class="section-header">Class/Module Index
          <span class="search-toggle"><img src="./images/find.png"
            height="16" width="16" alt="[+]"
            title="show/hide quicksearch" /></span></h3>
        <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
        <fieldset>
          <legend>Quicksearch</legend>
          <input type="text" name="quicksearch" value=""
            class="quicksearch-field" />
        </fieldset>
        </form>

        <ul class="link-list">
        
          <li><a href="./CloudShell.html">CloudShell</a></li>
        
          <li><a href="./CloudShell/Context.html">CloudShell::Context</a></li>
        
          <li><a href="./Configurator.html">Configurator</a></li>
        
          <li><a href="./Formatter.html">Formatter</a></li>
        
          <li><a href="./Object.html">Object</a></li>
        
          <li><a href="./Parser.html">Parser</a></li>
        
          <li><a href="./SwiftClient.html">SwiftClient</a></li>
        
          <li><a href="./SwiftManager.html">SwiftManager</a></li>
        
        </ul>
        <div id="no-class-search-results" style="display: none;">No matching classes.</div>
      </div>

      
    </div>
  </div>

  <div id="documentation">
    <h1 class="class">Formatter</h1>

    <div id="description" class="description">
      <table class="rdoc-list"><tr><td class="rdoc-term"><p>Author</p></td>
<td>
<p>Murali Raju (&lt;murali.raju@appliv.com&gt;)</p>
</td></tr><tr><td class="rdoc-term"><p>Copyright</p></td>
<td>
<p>Copyright © 2011 Murali Raju.</p>
</td></tr><tr><td class="rdoc-term"><p>License</p></td>
<td>
<p>Apache License, Version 2.0</p>
</td></tr></table>

<p>Licensed under the Apache License, Version 2.0 (the “License”); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at</p>

<p><a
href="http://www.apache.org/licenses/LICENSE-2.0">www.apache.org/licenses/LICENSE-2.0</a></p>

<p>Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.</p>

    </div><!-- description -->

    
    
    
    <div id="5Buntitled-5D" class="documentation-section">
      

      

      

      

      <!-- Methods -->
      
      <div id="public-instance-method-details" class="method-section section">
        <h3 class="section-header">Public Instance Methods</h3>

      
        <div id="print_progress_bar_long-method" class="method-detail ">
          <a name="method-i-print_progress_bar_long"></a>

          
          <div class="method-heading">
            <span class="method-name">print_progress_bar_long</span><span
              class="method-args">()</span>
            <span class="method-click-advice">click to toggle source</span>
          </div>
          

          <div class="method-description">
            
            
            

            
            <div class="method-source-code" id="print_progress_bar_long-source">
<pre>
<span class="ruby-comment"># File lib/formatter.rb, line 23</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">print_progress_bar_long</span>
        <span class="ruby-identifier">puts</span> <span class="ruby-string">''</span>
<span class="ruby-identifier">bar</span> = <span class="ruby-constant">ProgressBar</span>.<span class="ruby-identifier">new</span>
            <span class="ruby-value">100</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span>
              <span class="ruby-identifier">sleep</span> <span class="ruby-value">0.075</span>
                <span class="ruby-identifier">bar</span>.<span class="ruby-identifier">increment!</span>
                <span class="ruby-keyword">end</span>
        <span class="ruby-identifier">puts</span> <span class="ruby-string">''</span>
<span class="ruby-keyword">end</span></pre>
            </div><!-- print_progress_bar_long-source -->
            
          </div>

          

          
        </div><!-- print_progress_bar_long-method -->

      
        <div id="print_progress_bar_short-method" class="method-detail ">
          <a name="method-i-print_progress_bar_short"></a>

          
          <div class="method-heading">
            <span class="method-name">print_progress_bar_short</span><span
              class="method-args">()</span>
            <span class="method-click-advice">click to toggle source</span>
          </div>
          

          <div class="method-description">
            
            
            

            
            <div class="method-source-code" id="print_progress_bar_short-source">
<pre>
<span class="ruby-comment"># File lib/formatter.rb, line 33</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">print_progress_bar_short</span>
        <span class="ruby-identifier">puts</span> <span class="ruby-string">''</span>
<span class="ruby-identifier">bar</span> = <span class="ruby-constant">ProgressBar</span>.<span class="ruby-identifier">new</span>
    <span class="ruby-value">100</span>.<span class="ruby-identifier">times</span> <span class="ruby-keyword">do</span>
      <span class="ruby-identifier">sleep</span> <span class="ruby-value">0.0055</span>
         <span class="ruby-identifier">bar</span>.<span class="ruby-identifier">increment!</span>
        <span class="ruby-keyword">end</span>
        <span class="ruby-identifier">puts</span> <span class="ruby-string">''</span>               
<span class="ruby-keyword">end</span></pre>
            </div><!-- print_progress_bar_short-source -->
            
          </div>

          

          
        </div><!-- print_progress_bar_short-method -->

      
      </div><!-- public-instance-method-details -->
    
    </div><!-- 5Buntitled-5D -->
  

  </div><!-- documentation -->

  <div id="validator-badges">
    <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
    <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
      Rdoc Generator</a> 2</small>.</p>
  </div>

</body>
</html>

